package com.powerbank.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 管理后台应用启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.powerbank"})
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
        System.out.println("=====================================");
        System.out.println("充电宝租赁管理后台启动成功！");
        System.out.println("访问地址：http://localhost:8082/admin");
        System.out.println("=====================================");
    }
}